package _12FileOutPutStream一次写一个字节数组;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class Demo {
    public static void main(String[] args) throws IOException {
        FileOutputStream fileOutputStream = new FileOutputStream("D:\\黑马java培训班\\代码\\itcast\\JavaSE\\day10\\abd\\aa\\c.txt");
        String s = "java是全天下最好的语言";
        fileOutputStream.write(s.getBytes());
        fileOutputStream.close();
    }
}
